/**
 * 
 */
package com.auth.service;

import java.util.List;

import com.auth.model.Account;
import com.auth.model.CpAccount;

public interface CpAccountService 
{
	public String encrypt(String str);
	public CpAccount getCpAccount(String id, String password);
	public CpAccount getCpAccount(String id);
	public List<CpAccount> getCpAccounts();
	boolean saveCpAccount(Account operator,String type, CpAccount account);
	boolean updatePassword(Account operator, String id, String password);
}
